package demo.modbus.dto;

/**
 * Created by leohe on 2018/6/21.
 */
public class HoldingRegister {

    private int address;
    private String alias;
    private int value;

    public HoldingRegister() {
    }

    public HoldingRegister(int address, String alias, int value) {
        this.address = address;
        this.alias = alias;
        this.value = value;
    }

    public int getAddress() {
        return address;
    }

    public void setAddress(int address) {
        this.address = address;
    }

    public String getAlias() {
        return alias;
    }

    public void setAlias(String alias) {
        this.alias = alias;
    }

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }
}
